package com.css.fxfzysx.modules.vabStructure.service;

import com.css.fxfzysx.base.response.RestResponse;
import com.css.fxfzysx.modules.cztDataMange.entity.CbcbInfoEntity;
import com.css.fxfzysx.modules.cztDataMange.entity.CbcpInfoEntity;
import com.css.fxfzysx.modules.vabStructure.param.CbcpInfoParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface PobStructureService {
    RestResponse countPobStructure(Map<String, Object> map);
    RestResponse countPobStructure1(CbcpInfoParam cbcpInfoParam);

    RestResponse updatePobStructure(List<Map<String, Object>> cbcpInfoParam);
    RestResponse updatePobStructure1(List<Map<String, Object>> cbcbInfoParam);
    RestResponse updatePobStructure2(List<Map<String, Object>> cbcbDetailParam);

    RestResponse saveOrUpdatePobStructure(Map<String,Object> map);
    RestResponse saveOrUpdatePobStructure1(CbcpInfoParam cbcpInfoParam);

    RestResponse getById(String id);
    RestResponse getById1(String id);

    RestResponse queryPobStructure(CbcbInfoEntity cbcbInfoEntity, HttpServletRequest request);
    RestResponse queryPobStructure1(CbcpInfoEntity cbcpInfoEntity, HttpServletRequest request);

    void exportPobStructure(String cbcIds, HttpServletResponse response);
    void exportPobStructure1(String cbcIds, HttpServletResponse response);

}
